package com.timo.redis.receiv;

import lombok.extern.slf4j.Slf4j;
import org.apache.logging.log4j.message.SimpleMessage;
import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.connection.MessageListener;
import org.springframework.stereotype.Component;

/**
 * @Description: 类的详细说明
 * @Author: timo
 * @Date: 2019/8/29 11:04
 */
@Slf4j
@Component
public class MessageSubscriberNew implements MessageListener {


    @Override
    public void onMessage(Message message, byte[] pattern) {
        log.info("new1@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
    }
}
